package top.maof.book.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.maof.book.model.Perm;
import top.maof.book.result.PageData;
import top.maof.book.result.PageWrap;

/**
 * Created by CodeX4J.
 */

public interface PermService extends IService<Perm> {
    public int add(Perm perm);

    public PageData<Perm> findPage(PageWrap<Perm> pageWrap);

    public Perm find(int id);

    public int update(Perm perm);

    public int delete(int id);
}
